﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="WebFormsIdentity.Login" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>用户登录</title>
    <link href="Scripts/bootstrap/v4.6.2/css/bootstrap.min.css" rel="stylesheet" />
    <link href="Styles/login.css" rel="stylesheet" />
    <script src="Scripts/jquery/v3.6.3/jquery.min.js"></script>
    <script src="Scripts/bootstrap/v4.6.2/js/bootstrap.min.js"></script>
</head>
<body>
    <form id="login" class="form-signin" runat="server">
        <div>
            <div class="text-center">
                <img class="mb-4" src="./Images/bootstrap-solid.svg" alt="" width="72" height="72" />
                <h1 class="h3 mb-3 font-weight-normal">普通登录</h1>
            </div>
            <asp:PlaceHolder runat="server" ID="LoginStatus" Visible="false">
                <div class="alert alert-primary" role="alert">
                    <asp:Literal runat="server" ID="StatusText" />
                </div>
            </asp:PlaceHolder>
            <div class="form-group">
                <asp:Label runat="server" AssociatedControlID="UserName">用户名</asp:Label>
                <div>
                    <asp:TextBox runat="server" ID="UserName" class="form-control" />
                </div>
            </div>
            <div class="form-group">
                <asp:Label runat="server" AssociatedControlID="Password">密 码</asp:Label>
                <div>
                    <asp:TextBox runat="server" ID="Password" TextMode="Password" class="form-control" />
                </div>
            </div>
            <div class="button-group">
                <div>
                    <asp:Button runat="server" class="btn btn-lg btn-primary btn-block" OnClick="SignIn" Text="登 录" />
                </div>
            </div>
        </div>
    </form>
</body>
</html>
